
# include #
INCLUDES +=	-I$(TOPDIR)/external/sdk_adapter/include	\
		-I$(TOPDIR)/external/sdk_adapter/include/sdk

INCLUDES +=	-I$(TOPDIR)/external/mp4v2/include
INCLUDES +=	-I$(TOPDIR)/external/faac/include
INCLUDES +=	-I$(TOPDIR)/external/avi/include

# libs #
ifeq ($(LIBTYPE), muclibc)
LIBS +=	-L$(TOPDIR)/external/sdk_adapter/lib/uclibc -limp	\
	-L$(TOPDIR)/external/sdk_adapter/lib/uclibc -lalog	\
	-L$(TOPDIR)/external/sdk_adapter/lib/uclibc -lsysutils	\
	-L$(TOPDIR)/external/sdk_adapter -lsdk_adapter

LIBS +=	-L$(TOPDIR)/external/mp4v2/lib/uclibc -lmp4v2
LIBS +=	-L$(TOPDIR)/external/faac/lib/uclibc -lfaac

LIBS +=	-L$(TOPDIR)/external/avi/ -lavi
else
LIBS +=	-L$(TOPDIR)/external/sdk_adapter/lib/glibc -limp	\
	-L$(TOPDIR)/external/sdk_adapter/lib/glibc -lalog	\
	-L$(TOPDIR)/external/sdk_adapter/lib/glibc -lsysutils	\
	-L$(TOPDIR)/external/sdk_adapter -lsdk_adapter

LIBS +=	-L$(TOPDIR)/external/mp4v2/lib/glibc -lmp4v2
LIBS +=	-L$(TOPDIR)/external/faac/lib/glibc -lfaac
endif

# objs #
OBJS +=	$(TOPDIR)/src/module_movie_record/node_list.o
OBJS +=	$(TOPDIR)/src/module_movie_record/ringbuffer.o
OBJS +=	$(TOPDIR)/src/module_movie_record/video_h264_source.o
OBJS +=	$(TOPDIR)/src/module_movie_record/audio_pcm_source.o
OBJS +=	$(TOPDIR)/src/module_movie_record/audio_enc_wav.o
OBJS +=	$(TOPDIR)/src/module_movie_record/audio_enc_faac.o
OBJS +=	$(TOPDIR)/src/module_movie_record/pkg_avi.o
OBJS +=	$(TOPDIR)/src/module_movie_record/pkg_mp4.o
OBJS +=	$(TOPDIR)/src/module_movie_record/storage_manager.o
OBJS +=	$(TOPDIR)/src/module_movie_record/module_movie_record.o
